package com.bo.baby2.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.time.LocalDateTime;


/**
* @program: baby2_p2p
*
* @description: ${description}
*
* @author:波
*
* @create: 2020-07-14 21:18
**/


/**
    * 银行卡表
    */
@ApiModel(value="com-bo-baby2-entity-TBankCard")
public class TBankCard implements Serializable {
    /**
    * id
    */
    @ApiModelProperty(value="id")
    private String id;

    /**
    * 用户id
    */
    @ApiModelProperty(value="用户id")
    private String userId;

    /**
    * 开户人姓名
    */
    @ApiModelProperty(value="开户人姓名")
    private String realname;

    /**
    * 银行名称
    */
    @ApiModelProperty(value="银行名称")
    private String bankName;

    /**
    * 银行卡号
    */
    @ApiModelProperty(value="银行卡号")
    private String cardNumber;

    /**
    * 支行名称
    */
    @ApiModelProperty(value="支行名称")
    private String branchName;

    /**
    * 可用余额
    */
    @ApiModelProperty(value="可用余额")
    private Long balance;

    /**
    * 创建日期
    */
    @ApiModelProperty(value="创建日期")
    private LocalDateTime createTime;

    private static final long serialVersionUID = 1L;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getRealname() {
        return realname;
    }

    public void setRealname(String realname) {
        this.realname = realname;
    }

    public String getBankName() {
        return bankName;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName;
    }

    public String getCardNumber() {
        return cardNumber;
    }

    public void setCardNumber(String cardNumber) {
        this.cardNumber = cardNumber;
    }

    public String getBranchName() {
        return branchName;
    }

    public void setBranchName(String branchName) {
        this.branchName = branchName;
    }

    public Long getBalance() {
        return balance;
    }

    public void setBalance(Long balance) {
        this.balance = balance;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", userId=").append(userId);
        sb.append(", realname=").append(realname);
        sb.append(", bankName=").append(bankName);
        sb.append(", cardNumber=").append(cardNumber);
        sb.append(", branchName=").append(branchName);
        sb.append(", balance=").append(balance);
        sb.append(", createTime=").append(createTime);
        sb.append("]");
        return sb.toString();
    }
}